home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr37 / satsfaxt.zip / CCPUTILS.ZIP / PARSE.H < prev    next >
Text File  |  1990-01-30  |  627b  |  15 lines

  1. /* Option Table */
  2. typedef struct OptionTable {
  3.     char Switch;                            /* switch to parse              */
  4.     int Type;                    /* INT, LONG, BOOL, CHAR, STRING*/
  5.     int *Storage;                           /* address of variable          */
  6.     int *DefaultValue;                      /* use default if not specified */
  7. } STABLE;
  8.  
  9. /* Option Table variable types */
  10. #define INT    1                /* integer variable   */
  11. #define LONG    2                /* long variable      */
  12. #define BOOL    3                /* boolean variable   */
  13. #define STRING    4                /* string variable      */
  14. #define CHAR    5                /* character variable */
  15.